Revised mlrtestp.R to read from stdin