implements basic word query
adds coverage report for words query