DAR-1859 | Fixed js unit tests