test Relation stuff. add tests class and models.
set $entity not in the constructor of Relation, but use entity method.
reflect the new id when saved to database.
add test for getting the related entity.
saves the relation object inside Entity object.
tested relation object are identical (same object are used as return).