Add test for RegisterTLSConfig