unittest with nashorn