Fixed issues in PowerProcessorTest.

Caused by 2 missing stubbings for Entity.has(...).