Eight Kenyans who recently completed their final secondary school exams have appeared in court accused of cheating and insulting the education and interior ministers.

They were arrested after a video was widely shared showing several boys celebrating as they hurled insults at the ministers. They boasted that they had cheated in the exams but would not be caught.

Last month, the ministers said they were putting in place new security measures to prevent exam cheating which is a serious problem in Kenyan schools.

The eight teenagers have been remanded for a week at a police station to allow the prosecution to continue its investigations.