compile test functional