return good data in publish callback and add incomplete response parse tests