[PATCH 4.4 230/312] power: test_power: correctly handle empty writes