Added unit test for TWB operator.