testing unlink function