Accurate spectral testing without accurate instrumentation