implementation and tests for XHR Mocking
added params support for model expectations