Added tests for GNGGraph

Nevertheless still SEGFAULT