ADEN-1516 Fix js tests