Make ELLIPSIS_PACKAGES configurable, add more tests.