Emit ready in the test after setting up methods.