bytes -> str in test