Add support of configuration failure in testng adapter

Add support of configuration failure in testng adapter