Integrate ReQL tests and example validation into make test (#589)
Merge review 382 by @mlucy (closes #589)