Experimental test of quantum electrodynamics for the reaction e+e−→γγ at 4 GeV center-of-mass energy