added newline character to function with params class. Fixes issue #1490
removed print statement
updated test code to include new line character in tests.
Merge pull request #1558 from johnchase/newl

Newl