Now, scientists have devised a practical coffee test of sorts- a sniffing test if you could call it to help people diagnose an infection early on.