[INTERNAL] added tests for the connect task

- fixed the line endings of the mocha file tests
fixed linting
fixed linting part 2
added suggestions
Merge pull request #3 from TobiasOetzel/master-pull

[INTERNAL] added tests for the connect task