Fix test race condition in EJSON tests.

When running the client versions of the tests, the client will send EJSON to the
server containing the Dog type, so the server needs to have already executed
EJSON.addType. Putting the call in a test is too late.