Unit tests for remote_url