See `status` instead of `$?`
Add missing test for return value