Added tests for url