fix test to bytes