Refactor test of 'operation' object

* The method 'utils.create_models_from_data' should have been
used in test_operation to avoid duplications of code,
* Removed unucessary multi-line in test_plan.

Change-Id: I3586b12893b8d7d53dccd5220077d61a18066449