Ezyang test fixes

Miscellaneous, non-controversial fixes. The misuse of `<$>` was a real zinger.