Tests for errors='bytes'