adjusted __str__ method formatting and deleted old test