Better syntax for batch factory creation
Cleaner URL formatting in tests