[PATCH 3/8] quartz/tests: Add more tests for asynchronous state change.