few code correction in testcustomerattribute unit test