def METHOD_NAME(self):
    normal_user = factories.User()
    org = factories.Organization(user=normal_user, org_url='http://test.local/', hdx_org_type='donor')
    package = {
        'package_creator': 'test function',
        'private': False,
        'dataset_date': '[1960-01-01 TO 2012-12-31]',
        'indicator': '1',
        'caveats': 'These are the caveats',
        'license_other': 'TEST OTHER LICENSE',
        'methodology': 'This is a test methodology',
        'dataset_source': 'World Bank',
        'license_id': 'hdx-other',
        'name': 'test_activity_3_as_normal_user',
        'notes': 'This is a test activity',
        'title': 'Test Activity 3',
        'owner_org': org['name'],
    }
    package['groups'] = [{'name': 'roger'}]
    context = {
        'model': model, 'session': model.Session, 'user': normal_user['name']}
    try:
        dataset_dict = self._get_action('package_create')(context, package)
        assert dataset_dict and dataset_dict.get('groups') and dataset_dict.get('groups')[0].get(
            'name') == 'roger', 'The group needs to be part of the created dataset'
    except logic.ValidationError as e:
        assert False, str(e)