update UT
adding promise for file upload feature

1 UT fail