Force-set test environment