Added one more check to random sampler test

Change-Id: If3a6086b406a9a5564e04db9d9b953a9b99a83f7