Online Diagnostic Test Selection