Write tests in TypeScript file.