tests file uploaded