Added unit tests for redis url