Added timeout option and test to test new timeout parameter, added requestFail assertion.