Moved wait_for_xmodule() into world for lettuce tests