added environment check to instrumentation tests