Convert simpletest test about urls generation to PHPUnit tests. WIP