fix testcases
add testcase for normalize