[Test][Fixture] Introduce fixture mode

This PR introduce fixture mode in the fixture test case in order to reduce code duplication in tests.