fix test expected values to match cos spectrum