typescript tests