Use bytes instead of str there required in tests