Add test cases

Adding some test cases to get the testing started.

Do you want any more cases before pulling this in? Or do you think it is a good start? Or are they to trivial/targeting the wrong things?

If you want to pull them in, the next thing could be adding a .travis file to run tests on the CI, like https://github.com/rakyll/ticktock/blob/master/.travis.yml