add test for xml content filter

remove unnecessary check