Added support for test flags to per-test metadata