refs #3985 fix caching not working on MobileWeb
refs #3985 fix detection of successful response
fixes #3978 our first unit test using behave... tests run in simulator when deploy-type is "test". nice!