added choice() to Vertex and Edge and added a new test case.