add logic controller spec for content-type setting

The spec tests the correct setting of the content-type
for xml-based responses.