Add new tests for some wait conditions

Also add the ExpectedConditionsTest to the test suite.

Signed-off-by: Andreas Tolfsen <ato@mozilla.com>