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

Fixed test framework involving tests that import external libraries