fix test of lda