Fix tests for `Activity.all_by_ids_with_object/1`
It appears there was a race condition in the test added by !1621 (merged). This MR should fix the test.
It appears there was a race condition in the test added by !1621 (merged). This MR should fix the test.