Use correct constructors.
BildWriter no longer exists, so don't try to test it.
Use correct constructor.