fix tests for clean env