LPS-45817 Add test for ammendBackgroundTask