Update package to use `Workspace::getActiveEditor`
Make better test