Added unit tests and upped the version