Fix MongoChannelStoreWriteTest and MongoScheduleStoreTest