Not sure about other OS here though. Might be better to use assertTextEquals() to avoid failings due to different NL.