Only test api links if they've been defined