[testing] Add testing for nashorn.