Update testGetResourceAccpetTurtle() and replace deprecated LdpTest.hasLinkHeader()