Cleanup tests.publisher tests

- Fix misleading header comment for test_file and test_rpc_publisher
- Drop usage of maxstubout in favor of fixtures.MonkeyPatch

Change-Id: I29eaa0b55e2888bab60880d1b0dca9993abf2ada
Merge "Cleanup tests.publisher tests"