Fixed test fx for test failures with library loading
addressed review comments - changed access rights to 'DestroyInstance'
Merge pull request #2652 from aparajit-pratap/Intellisense

Merge from master to Revit2015 branch: PR #2651