make cpp test output same as others.