Added typescript compliation to test