added pytest for 'has_node'
completed tests for neighbors and adjacency, completed functions