added test generator