test bytes formatting