Diagnostic test accuracy in longitudinal study settings: theoretical approaches with use cases from clinical practice