#12108 [Routing] Added $loader variable to included file, added unit tests