Add test to check return value in case of incorrect bytes sent
Merge pull request #5 from iHiD/byte_length_check

Add test to check return value inc ase of incorrect bytes sent