write student test and class