Port test to cfi.