added tag query test