tests/pm_pc8: move teardown_environment next to setup_environment