[INTERNAL] added tests for the connect task

- fixed the line endings of the mocha file tests