Adding tests to check  dictionaries properly serialized (extension with a condition and condition with an action)