Move table_creator_base subclass closer to test_context