Nested module/classes sanity check with factory method.