Make the tests run again.

Julia's macro syntax has changed a lot in the past few months and the
test macros were out of date. Now they work, as far as I can tell. The code
has been simplified too, there is much less quoting and splicing going on.
Use OS_NAME