Test getLinks with non-existent json file.