update generate test