Test case is leaking resources - Deno