Ideally, there should be no intake of alcohol atleast 72 hours prior to the medical test. 40ml, 24 hours back should not be a cause of worry, but I recommend you drink lots of water to get all traces of alcohol out of your system, and stay hydrated, and stay relaxed.