add processContent test and doc