unit testing mockjax