Updated the tests to play nice with \n