Add rudimentary tests for ioreg

Preferring `//!` over `/*!`. Not sure if that is a Zinc style thing, but `/* */` is falling out of favour anyway.