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.