Add dependencies and modify test configuration