These tests ensure that nested expressions in preconditions and effects are correctly flattened via derived predicates.