Added test for custom handshake data