jshint
Fix async errors in tests