beginings of testgen