proper environment for unittest