BS-9238 Fix test of Document Name Validation