libsmack-tests: fix errors to conform to kernel behaviour.