For blood leak sensor, we didn't want to go to normal state until it was zeroed and self-tested. For bubble detector, do we want to be stuck in init state until self-test is requested? I think if we keep this state machine as is, we will want to request self-test in POST so that we can move on to normal state quickly. Then still request another self-test in each pre-treatment as we are now doing.
payload is of type TEST_OVERRIDE_ARRAY_PAYLOAD_T (12 bytes). TEST_OVERRIDE_PAYLOAD_T (used below) is only 8 bytes. Change below to array version of test payload type.