cleanup tests a little
only decode value field if content_type is set to a text type, closes #9