wrote  failing test for getRandomTarget