add a unit test for cacheable consumer