add test for base editor