Added failing tests for fallback from package.json main being defined

package.json doesn't exist
and
package.json exists but main is not defined