Fix broken test dependencies