minor test fixes WRT https://test.civicrm.org/job/CiviCRM-4.3-git/LABEL=debian6,SUITE=api_v3_AllTests/lastCompletedBuild/testReport/ failure result
Merge pull request #842 from pratik-joshi/api-test-fixes

minor api test fixes WRT https://test.civicrm.org/job/CiviCRM-4.3-git/LABEL=...