Synthesizing sources in magnetics: a benchmark problem