Add tests on URLs pre-process