script for compiling tests