Coulomb's law applies to all charges. It doesn't care what the specific purpose of the individual charge may be at the moment.
Coulomb's law states that the force between two point charges is proportional to the product of their charges and inversely proportional to the square of the distance between them. A test charge is a small charge used to determine the electric field from a source charge. By applying Coulomb's law to the test charge, we can predict the force it will experience due to other charges.
;