null check for onend
test on node 0.11
bump modules