add test case for file upload admin widget