this commit is related to the same issue as for the one from 29. November 2013 15:57:40.
In short, it makes it possible to test classes that use graphics extension.
Merge pull request #88 from Peregrin05/master

more test-ready. 

Seems like a reasonable change to me.