A step towards getting tests working again?

So I added these corrections to the code merged in Pull Request #85.

These tweaks get me to where `make test` generates 5 errors--all related to getting a `User` object. The Travis build errors reflect this exactly.

I'm going to assume that Issue #76 is the reason no user is created in the database and that's the reason for all 5 remaining failures.

Anyways, thanks for writing this library. It's been very helpful to me. I'd love to get your tests working again.