query-index-doctype-spout is working, tests need to be writen