Add tests for ProxyManager\Generator\ClassGenerator

Maybe it will be good for a coverage point or two, who knows?