def function with arguments, compile tests