Fixed missing URL quoting for bulk deletes. GitHub #350
Cleaned up sloppy formatting in some tests.