Fix unit test failure when embedly is not installed