Added some thread testing to URIPolicyTest