You are a good boy.
Try to sit away from them. If not possible then tell your teacher that he/she should have an eye upon you. So you will be saved from dishonesty.
Always read Ayatulkursi before you enter in the examination hall. So Allah will protect you.