added test for normalize