Add jshint globals to test.
Fix broken orders api tests.