handshake test added
Works on both Python2 and 3
Updates