ioreg/test: Add test for #140

write-only registers shouldn't be read from.