fixed formatting, and added test for new outputport