Removed unnecessary calls to mockjax.clear() from test file