Tomographic test of Bell's inequality