Tweak output.
Add tests for uid, gid, permissions and flags.