Migrated testinstall.py and 0alias script to OCaml