Refactor fabric functional test tasks to remove code duplication.
Refactore FTs to have a class per test.