Test of global energy calculator