This overrides the ready function permanently. Please use a sinon stub and remember to restore it when tearing down.