fixing tests for route module