update test generation