testing upload function, still fails