test for is ready