Moved tests for sending and receiving binary