Updated LDA unit tests