generated functional test