"Do you think a change of filter ,
oil ,and plugs could get it past the emissions test."
In all honesty no! You might check the plugs but if one/more was misfiring the CO and HC would be higher.
The air filter would be worth a look but it would need to be very dirty as a choked filter is, within limits, compensated for by the O2 sensor, if it is working properly. Removing the air filter completely for the test might help in a marginal case. The within spec CO at idle and not at fast idle rather suggests a possible dirty filter.
The most likely culprit is a sluggish(failing) O2 sensor, had it failed completely the CO would be much(6%-9%) higher.