Add UseCase test for create_commitment