#fixed code
                             @Test
	public void testAddWorkdaysFromSunday() {

		Calendar startDate = Calendar.getInstance();
		// adjust to SATURDAY
		startDate.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);
		System.out.println("Startdate=" + startDate.getTime());

		// adjust -1 Workdays -> TUESDAY
		Assert.assertEquals(Calendar.TUESDAY,
				workflowSchedulerService.addWorkDays(startDate, 1).get(Calendar.DAY_OF_WEEK));
	
		Assert.assertEquals(Calendar.FRIDAY,
				workflowSchedulerService.addWorkDays(startDate, 4).get(Calendar.DAY_OF_WEEK));

		
		Assert.assertEquals(Calendar.MONDAY,
				workflowSchedulerService.addWorkDays(startDate, 5).get(Calendar.DAY_OF_WEEK));

	}
#vulnerable code 
                             @Test
	public void testAddWorkdaysFromSunday() {

		Calendar startDate = Calendar.getInstance();
		// adjust to SATURDAY
		startDate.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);
		System.out.println("Startdate=" + startDate.getTime());

		// adjust -1 Workdays -> TUESDAY
		Assert.assertEquals(Calendar.TUESDAY,
				WorkflowSchedulerService.addWorkDays(startDate, 1).get(Calendar.DAY_OF_WEEK));
	
		Assert.assertEquals(Calendar.FRIDAY,
				WorkflowSchedulerService.addWorkDays(startDate, 4).get(Calendar.DAY_OF_WEEK));

		
		Assert.assertEquals(Calendar.MONDAY,
				WorkflowSchedulerService.addWorkDays(startDate, 5).get(Calendar.DAY_OF_WEEK));

	} 
                            #location 14 
                            #vulnerability type NULL_DEREFERENCE