The dark chocolate contains small amounts of caffeine. The caffeine is an stimulant and can be tested for drug abuse. But the amount of caffeine in chocolates is so small that it can not give you false positive if you stop taking it 5 days before the test. All drug tests institutions ask not take chocolates 5 days before the test. To study about which things to eat and not to eat before the drug test, visit Drug testing