test: renamed and rewrote loader test module to be async