Fix leaks in the embedder tests themselves.