Adds JS integration tests for search
Merge pull request #1888 from velesin/search_integration_tests

Adds JS integration tests for search