test otomata-js