Falsifying cosmological models based on a non-linear electrodynamics