add a toString for the test only in question 7 in chapter 3