Energy correlations in electron-positron annihilation: Testing quantum chromodynamics