Module tests do not work from file. They must be loaded via http.
Consider npx http-server -c-1 (no caching).