added tests for replybuilder