DEVP-3030, DEVP-2999: refactor js tests
Merge pull request #653 from WarnerMusicGroup/DEVP-2999_

DEVP-3030, DEVP-2999: refactor js tests