Refactor to simply tests and stop copy+pasted code
Add missing file test/helpers.js
Merge pull request #11 from matthew-andrews/simpler-tests

Refactor to simply tests and stop copy+pasted code