tests for url