Add missing dependencies to test files.