Properly building typescript test files.