How to abstract tests to allow running different functions against the same test suite? - Deno