refactor "check that file changed"
refactor package list content test
refactor more common per-index-run tests