creat a test generator