fixed test generator
fixed test generator