non-working file upload test with BeforeUpload hook