Fixed createRoute method
Fixed test