removed unused variables, case type test CRM-14475

----------------------------------------
* CRM-14475:
  https://issues.civicrm.org/jira/browse/CRM-14475