use only one JS engine per test suite

this drastically speeds up running tests on Nashorn