Added test to check MethodsFor checks paths properly