testing norm func