Add support for flavors and custom test runner config.