Added a test suite of sorts.
Merge pull request #1 from swinton/master

Added a test suite of sorts.