fixed core's ts tests