test compiled file rather than source file