Test flat field correction