Test

The start of a test suite. Currently using casperjs for automation. We should also look into some other things for unit test and property tests.

Closes #49

Merge this after #54 and the changes will actually show up.