written test case 1