test a code file