This isn't quite the test you wanted, I think. Shouldn't it be "\"\\n\"" ?