Ensured style test pass for from_str