added tests for vertex and edges
added tests for vertex and edges - fixed jslint
added tests for vertex and edges - fixed jslint