import test; <---dmd choking here.
You will need to use the -I option of dmd/rdmd to inform the compiler of where your `HopefullySomeDLibrary` directory is located, as well as any other places you will want to import modules from.
If you're using another compiler, it should have a similar option. (Though I can't speak from experience.)