Make "dub test" work for library configurations without a "mainSourceFile".