Testing #12974

For some reason DPaste's old git version has a bug with this code, so adding it to the autotester to see if it can reproduce the bug.