normalization
add basic tests
fix typo