Use extern program to compile and test