get-links function test