add unit test with robolectric
check if scheme is null before checking it
test a few more uris and fix a few bugs

fix an issue where we crash on an empty path
fix an issue where we accept an incorrectly coded key
one more positive and one more negative uri test