tests: render: fix memory leaks and typos (webm ->ogv).
tests: render: APIify a way to specify the time a dot dumping should happen.

This is not ideal.