setup minimal test.js -- to be continued