Try out mockjax for model testing