power: test_power: correctly handle empty writes