unit_tests: In test_policy_manager, delete the testCertFile in tearDown instead of addCleanup.