local env and testing