Usetesting

Detects when some calls can be replaced by methods from the testing package.