Updated twochartest for testings