Fixed tests
Cleaned up Model::hasMany() and belongsTo() methods