Unittesting for new Graph methods