Fix background save call in test