adds support for generating test set
adds support for generating test set