[HELIX-286] add a test for redefine state model definition