add test of send bytes