added expectation maximization test