Relations test

Added models with relations
Testing existence of relation name in mapping dictionary