Hi Daniel,
Sorry to take so long to respond; I have been traveling and this took me a bit of time to track down.
Basically, this is failing because bamtools, the underlying BAM library upon which bedtools depends, enforces that each bam has the same set and order of chromosomes in the BAM headers. The headers in your two files are almost identical, but one file has chrM before chrX and the other has chrX before chrM.
The following works for me.
samtools view -H 1.bam > header
samtools reheader header 2.bam > 2.fixed.bam
samtools index 2.fixed.bam
bedtools multicov -bams 1.bam 2.fixed.bam -bed test.bed