Made tests work on npm test
Merge pull request #3 from Parcela/tests-npm

Made tests work on npm test