added a l2 norm tester