generalize test file and package integration