tests for product and search routes