fix test wrong output for issue #43