switched test framework