add compiling of test file to a script