test when string is same as query
:lipstick: remove extra variable