Testing electroplating and paint coatings