add mojito.js tests

coverage 85.96% (153 / 178)