Adding testcases to prove the existence of #6404: https://labs.riseup.net/code/issues/6404