added separate file for typescript testing

added separate file for typescript testing