Drop unnecessary dependencies from tests