minor fix in test.ts