implements automatic test-table fetching