Tests: Added setting of types and suites via env variables

Fixes gh-6917