Add  test for BindRandom