test for spaces in filenames; re-use assertPatchElements from Alexey's test