Add tests for creating and downloading a link file