changes after code review
EZS-26 - updated JS unit tests