fix ref
failing test for undef deps
Fix calling Object.keys on undefined

I am not sure why browserify 5 is even running into this issue, but I can't bundle my app anymore without this fix.
fixed test for dedupe undef test
1.3.4