Fixed tests by calling ready()