fixes off by one error in command log by moving EventBroker subscription to notification, reset command log before run, add tests
fixes off by one error in command log by moving EventBroker subscription to notification, reset command log before run, add tests

OpenTrons/opentrons-api,OpenTrons/opentrons-api,OpenTrons/opentrons_sdk,OpenTrons/opentrons-api,Opentrons/labware,OpenTrons/opentrons-api,OpenTrons/opentrons-api