add test env in main