compile and run test_norm function