Added Energy Module tests

The Energy Module tests are based on the Downtime module tests