Added test to lda