simpleattr: test: fix error codes