Refactored constructor test case
Refactored string representation test case