Fixed typo, added tests
version 0.2.3