Fixed bug when enumerating generators in Media.Test.
Cleanup of Blackmagic.