Some more work on the DebugService tests

General cleanup of repeated code, and adding in two more tests to check
for no parent_id when none are passed in, and that a parent_id is set
when one is passed in. This will be fleshed out even more soon.