Fixes tests on Jenkins.

Also, this is actually more correct ;)
Merge pull request #64 from mads379/fix-jenkins-build

Fixes tests on Jenkins.