add wait for green to prevent test failure