Removed graph calls in specs

They're unnecessary and will be substituted by a further spec.
Test figure creation

Simply creates a tree, trains it and produces a PNG figure, testing to
confirm that no exception was raised and that the image is really there.