update test/debug environment setup