fix #2, add testing
bump version to 1.0.0