As man states, unlink should not be able to work on directories and an EISDIR errno should be returned.
man
Tests need to be implemented for gkfs_remove/unlink.