Implemented the ToString() method and added initial test class