power manager unit tests