Testing data output added to sub sample generation