fixed ts tests