Tests: wrap PostActions presence unmount in act()
The presence-gate test helper called root.unmount() outside act(), which
made React log "An update to Root inside a test was not wrapped in act(...)"
once per test. Wrapping the unmount in act() silences the warnings and keeps
the test output clean. No assertion or behavior change.