ADEN-1326 fix JS Unit tests