os_fchown: add unit tests