Fixing functional test i.e. adding delay in verification of success/ eror messages of uploads