tested link method in Has{One|Many} relation objects.
test against PostgreSql; renamed some traits and classes for clarification.