remove unreachable code and update tests
bump version to 0.0.3