packages/names: Fix require in tests