Moved test technology from JUnit to TestNG.
Added test cases for ToString.