add. unit test for  computing other bars logic and timeWindowType class