refactoring legal design index (testing fronted components)