Add link tests for api