Adding unit tests for normalize method.