-- webtest fixes and improvement

Fixed two tests and improved one test based on the break displayed on server by using waitForText.