Add rudimentary tests for ioreg

I've  rewritten the set with Shiny although I frankly see no advantage to using Hamcrest in this case other than introducing more syntactic noise.