DEVP-2999: refactor js tests
Merge pull request #650 from WarnerMusicGroup/DEVP-2999

DEVP-2999: refactor js tests