unit test case bug fixing done