testing server upload functionality