Fixed lda test