Add tests for GenDbTable command