Added a few tests in typescript