Modified VertexTest to be able to add vertecies and edged using controll. To create an edge between two vertecies first click on empty space, then ctrl-click the two vertecies to create an edge between them.