[PATCH libdrm v2 5/8] tests/random: extract test out of xf86drmRandom.c