Add newline restriction for arrow token after empty parameter list.

Also, refactor slightly around newline tests.