Added test for ExpectedContentTypeListener