improvement: add simple tests for restful consumers