Make test_view() -@ tests portable to OS X

BSD (and POSIX) getopt() requires options to appear before
non-option arguments.