fix package dependencies for tests