added test for hero query