Fix urls. Add test.