Chapter 15 - Implemented the toString and the test for the method.