Added some basic unit tests (get formats tested, so far)