Add tests for Environment.to_s and Systemgroup.to_s