added test for query norm