Add an assertion to test the getCurrentEntity method.
Method "saveForm" tested with an existing entity.