Configures to test env