add test functions for complete balanced data and EM; update vignette accordingly. unbalanced data not yet available