add energy test