Add test for binary frame with type of byte[] and fix a bug related to it
Cleanup