Normalizer class with tests