Testing

Add the start of test suite with Hspec. Also added the optional ability if you have ruby to have the test suite automatically run when you're developing. I don't know the best way to test the impure code. That's always a pain in the ass. Any ideas would be appreciated.