diff --git a/tools/bedtools/maskFastaBed.xml b/tools/bedtools/maskFastaBed.xml
index 39e0c34085a..408114ee05d 100644
--- a/tools/bedtools/maskFastaBed.xml
+++ b/tools/bedtools/maskFastaBed.xml
@@ -25,7 +25,7 @@
-
@@ -37,13 +37,20 @@
-
+
-
+
+
+
+
+
+
+
+
diff --git a/tools/bedtools/test-data/maskFastaBed_result1.bed b/tools/bedtools/test-data/maskFastaBed_result1.fasta
similarity index 100%
rename from tools/bedtools/test-data/maskFastaBed_result1.bed
rename to tools/bedtools/test-data/maskFastaBed_result1.fasta
diff --git a/tools/bedtools/test-data/maskFastaBed_result2.bed b/tools/bedtools/test-data/maskFastaBed_result2.fasta
similarity index 100%
rename from tools/bedtools/test-data/maskFastaBed_result2.bed
rename to tools/bedtools/test-data/maskFastaBed_result2.fasta
diff --git a/tools/bedtools/test-data/maskFastaBed_result3.fasta b/tools/bedtools/test-data/maskFastaBed_result3.fasta
new file mode 100644
index 00000000000..e9e10f6175a
--- /dev/null
+++ b/tools/bedtools/test-data/maskFastaBed_result3.fasta
@@ -0,0 +1,6 @@
+>chr1 description
+GACTCATGATttcttacctattagtggttgaacatcgtgatatgtatgttgacggccataaggctgcttcttgttgtcga
+tagaacttcatgtgcctgtaAAACAAGTACCAACCAGAACGTGAAAAAGCGTCCTGCGTGTAGCGTTTATGTTGGTTTCA
+TGGTTTTGTCTAACTTTATCGCTTTACCGTCTTTCCAGAAATTGTTCCAAGTATCGGCTTGTTTACGAATTAAATCGAAG
+TGGACTGCTGGCGTTATAACGCCGAAGCGGTAAAAATTTTTATTTTTTTTCTCACTTCTGTTACTCCAGCTTCTTCGGCA
+CCTGTGGCCTGTTGATTCTAAAGGTTAGTTTCTTCACGC
diff --git a/tools/bedtools/test-data/nucBed1.fasta b/tools/bedtools/test-data/nucBed1.fasta
index cb52be76d23..896de9d4106 100644
--- a/tools/bedtools/test-data/nucBed1.fasta
+++ b/tools/bedtools/test-data/nucBed1.fasta
@@ -1,4 +1,4 @@
->chr1
+>chr1 description
GACTCATGATTTCTTACCTATTAGTGGTTGAACATCGTGATATGTATGTTGACGGCCATAAGGCTGCTTCTTGTTGTCGA
TAGAACTTCATGTGCCTGTAAAACAAGTACCAACCAGAACGTGAAAAAGCGTCCTGCGTGTAGCGTTTATGTTGGTTTCA
TGGTTTTGTCTAACTTTATCGCTTTACCGTCTTTCCAGAAATTGTTCCAAGTATCGGCTTGTTTACGAATTAAATCGAAG