Scientists have developed a new "rapid test" that produces a cheaper and faster diagnosis on infectious diseases in just three hours thus preventing antibiotic resistances from spreading.