Tighten dependencies and fix tests

I noticed that the tests for this gem were not passing, so I fixed them. Additionally, I also noticed the dependencies for this gem do not have any versions associated with them -- this is not a great practice and liable to cause breakage in production, so I went ahead and fixed that too.

Mainly I was going to add some logging to this gem but I wanted to make sure the tests passed first.