Fix the tests

Finally.

The tests always ran on my computer; it was just a matter of getting the rethinkdb stuff pushed aside on Travis.