Added uriIsValid check
Removed unnecessary use statement
Updated Tests and added Travis support