Merge "Revert "Re-enable the tests for background restrictions"" into main