Strip newline from GIT_REV and add to space.
Fixed tests to align with addition of revision.