add version output tests and fix changelog output