Add unit test to uri validator