Added some unit tests
Merge branch 'master' of github.com:ucam-cl-dtg/urop-2013-handins