Optimized the timeout limits for each test cases

Incorrect use of promises. It was wrong earlier also, let’s take this opportunity to fix.

```javascript
q.delay(? * timeout).then(function () {
  return driver.switchTo().frame(0);
}).then(function () {
  return driver.findElement(webdriver.By.css('.minimize-room-title')).isDisplayed();
}).then(function (t) {
  assert.equal ...
});
```