BaseEnvironment implemented, and test environment implemented