Add undefined arg test and fix hanging handler
Merge pull request #33 from strongloop/fix/hanging

Add undefined arg test and fix hanging handler