A Robust Version of the Probability Ratio Test