add some tests
bump the version number to 0.2.2