test relation has_many