ocean-to-csv: added missing sleep statement in the loop for --query-mode.
batttery/ocean: updated unit test as each battery now has a new state field.