Add test to ensure doc IDs can be auto-generated