Fix complete graph unit tests