1) added yet another test case
2) added a toString() method