Add test for energy bar