writing tests for send, disconnect and isConnected functions
fix intialized variable spec and remove useless custom matchers
removing useless debugger