Making test newline agnostic