Test cases for class-frontend