Inappropriate Benefits and Identification of ChatGPT Misuse in Programming Tests: A Controlled Experiment