Added test for graph creation with an invalid number of args