Asymptotic Properties of the Wald-Wolfowitz Test of Randomness