cli-test: Error checking in mongo message test.