Add simple test script to monitor states