[server][testActionManager] Collect all spawned actions at the end of the test case.

Without this patch, the collection is performed in other test cases.
It makes an investigation difficult.