Unit tests

Added a test to send a large array of bytes to the backend.