fix Random test