Different random tests using D3