Fix decomposition for Flexpath
Add sample test for Flexpath to debugging