explicit testing of flag transformations with expanded polynomials