Added test for routesDir option