Fix #8. Add some basic tests

To run the tests inside the VirtualBox:

$ cd /vagrant
$ prove