Added tests.
NPM scripts.
Updated README
Removing unneccessary dependencies.
Merge pull request #1 from johngeorgewright/test

Unit tests