implementing test sets