Drop terminated comma in output
More tests for output