Log MAD-X commands to STDOUT in tests