Merge pull request #9 from theodi/feature-write-tests

Kicked this into shape
Tests are pointless if your Rakefile doesn't work :/