test for correct energy distribution among bins