Implemented test for uniform grid initial energy