fix incorrect output in test