add file upload test

Change-Id: Iab6b17f857a56f356de54755498c859d9c631712