functional test cases added for drupal6 and drupal7