added JUnit test for matching json, text and xml bodies