more test-ready

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.