Started writing some spec tests

As a side note. It's funny seeing the speed difference between running tests against Rails and running barebones specs against just a single class as demonstrated here.