add test env and tests for goals