Add some tests for Twigit class