Fix tests
Fix test_ca