Write test for entering search query