Fix failing capa tests