Fix .to_s method and test passing.