Near-patient tests