Added a test to check wheter the Validation event is triggered during upload.