yes thats correct, they cant charge for a diagnostic test if it detects a warranty problem, but if its a non-warranty problem they can,
do you know who your warranty is through, the warranty will almost certainly be through a third party warranty company such as AA, warranty Direct, or...