Test for normalize()