fixed Uri issue

Issue fixed:
https://github.com/pivotal/robolectric/issues/426