add test and fix bug for falsy connect key name
Merge pull request #83 from krawaller/connectbug

add test and fix bug for falsy connect key name