Add tests for RST tables

Companion to #220.