use unix-style newlines
refactor test.js

remove obsolete dependencies
remove commented-out code
hoist variable declarations
move option literals to variable object
correct spelling mistake
compare with strict inequality
use braces consistently
use quotation marks consistently
shorten long lines
add newline to end-of-file

fix asylumfunk#11
create common file to share between tests

chain connection and socket calls

fix asylumfunk#12
Merge pull request #12 from asylumfunk/issue/12

create common file to share between tests
Merge pull request #11 from asylumfunk/issue/11

refactor test.js