[TwigBridge] added some unit test for the previous commit