benchmark: add test for module loader

this adds a test for benchmarking the module loader, needed for
benchmarking changes / refacortings in the module loader.