add a test for the state of the circuit breaker. error if open.