On testing pseudorandom generators via statistical tests based on the arcsine law