Ordinary varieties and the comparison between multiplier ideals and test ideals