Added GraphAL unit tests, fixed 6 bugs in GraphAL and added functionality: