Fix bytes/str and reinstate test