use env files for tests

API