implement and test tracked_environment rollbacks