def METHOD_NAME(db, default_user_password):
    """Create a simple invenio user with a profile."""
    with db.session.begin_nested():
        user = User(
            email='user_with_profile@test.com',
            password=hash_password(default_user_password),
            profile={},
            active=True,
        )
        db.session.add(user)
        profile = user.profile
        profile.birth_date = datetime(1990, 1, 1)
        profile.first_name = 'User'
        profile.last_name = 'With Profile'
        profile.city = 'Nowhere'
        profile.username = 'user_with_profile'
        db.session.merge(user)
    db.session.commit()
    return user