test upload not working