ioreg/test: Add test for #140

Write-only registers shouldn't be read from.

Also remove parentheses from test names as this upsets the snake-case
lint.
Merge pull request #148 from bgamari/ioreg-test

ioreg/test: Add test for #140