Machine learning augmented diagnostic testing to identify sources of variability in test performance