Add tests for cheque_number state.