Add a test for default trust manager, fix the null use cases for keymanager
Take out the validate checking the algorithms in the trust store