Refactor kfile test adding the beckend to be compile and run on pc.