Fix the tests!

* Make JSHint happy
* Update the mockid to act like a Google API mock