Added failing test spec for non-factory definitions.
Allowing module definition to return raw data instead of factory method.
Ignore dependencies for non factory modules.