Add tests for the "device list" output with the various configuration of device power management. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>