Add basic CI
Compat tests and fixes