tests generator advanced