ENH: tests for hard_link(...) function