use env for tests dir