add testChannelsMore() test
testRunReplicationWithError() was not working when being run offline.

rework this test using a mock http client cherrypicked from the debug_issue_108 branch and enhanced to be more customizable.
testFetchRemoteCheckpointDoc() was broken.
Consolidate mock http clients into single class