Add tests for emma support