unit test case added and file upload imlemented