[INTERNAL] added tests for the connect task

- also fixed the newline separators
please change to 2 spaces indention