The first test was changed (to include a new line at the end of expected)
and now all of the two tests now pass.