Added moe unit tests.