Make tests use bytes instead of strings.