def METHOD_NAME(n=1, additional_props={}, pid_type='lit'):
    records = []
    for i in range(n):
        rec = TestRecordMetadata.create_from_kwargs(
            json=additional_props,
            pid_type=pid_type
        ).record_metadata
        records.append(rec)
    db.session.commit()
    return records