Added Tests for output and changed output