Add test_completion.ml for tests purpose directly in OCaml