Fix test dependencies

This is stuff that I had to do to get the tests up and running on a fresh clone. Not sure if you're interested in this or not.

Thanks for the great project.