[INTERNAL] added tests for the connect task

- also fixed the newline separators
We should remove this for now and consider adding functionality to the "test" task to only execute one test