Generating test tables automagically