Write link rooting test and helper method test