Test to ensure java.net.URL and javax.activation.DataHandler can be mocked