Fxes testcase based on new responsefactory contract.

Signed-off-by: crynobone <crynobone@gmail.com>