add offers handler test
add offer handler test for content-type:json