The IPC simple test fixtures had replicated code in many places. This changeset removes most of the duplication in the relevant files.