[INTERNAL] added tests for the connect task

- also fixed the newline separators
:sweat_smile: