fix syntax, add tests
bump version to 0.2.4