Added tests for toString() and changed comment to block style