unit tests for normalization