Added some more unit tests. Making final commit before tagging this as v0.1.