Tests initial with graphs energy