Removed unnecessary waitForText in test