change the entry of route in tests