Added field to toString.
Added a test case.