EMBRYO-64: More JS unit tests