test/common_test.js: extract initialization out from first test so that other tests can be run in isolation