adds validator for url
adds tests for url validation