connect() test added
disconnect test added