Refs #9990. Fixing unit test of PoldiCalculateSpectrum2D

Forgot to include the composite function modifier in the tested string.