Generate.hs: all kinds of dependencies from test suites go into 'testDepends'

That includes 'build-tools' and 'extra-libraries'.