there are some things that will give a false positive. you can check out www.erowid.com they have a lot of info on drug testing, what is tested for, even some info on how to beat them or fight them.
If you are subject to a broad drug screening, you may want to take in account that coke could be cut with other chemicals that have a longer half life and can create a positive for that substance.