added tests

- use URI.schema instead of URI.class
changes