PLA-390 refactor SearchAbTests.js and add some unit tests