How researchers test whether medicines work