strip trailing space
test only parameter outputs
DRYing up tests