testing BTsocket class.