adding test for ready()