Test routes with mock configuration