EZP-23336 - updated JS unit tests