Added additional test assertions in EntityTestCase.
Added position clamping of the entities during the eloquent.saving event. This will prevent nodes from being created anywhere but within the [0, next_id] range.

This does NOT handle any bad position manipulation done via inline SQL and may break. BEWARE!
Revert flags changes in BaseTestCase.php.
Set the old_parent_id and old_position values on model load. This way, when save is called on the loaded models (which have not changed parent nor position), it doesn't think it needs to update the positioning because of the logic in setupReordering (since old_parent_id === parent_id && old_position === position).
Added a check to testCreate (now testCreateSetsPosition) that once an entity is saved to the database, its old_position === position.
Added a test (testCreateSetsRealDepth) that verifies that the real_depth is set on entity creation (it was not the case).
Merge pull request #105 from tomzx/fixes/improve-tests

Fixes/improve tests
Merge pull request #106 from franzose/3.x

fixes from @tomzx