add test for xrandom, bugs solved. update rc to 1.3.1