move misc source file test and fix scripts to xt/