fixed TS tests