Added Test Cases for Empty Graph and Graph without Edges.