Fix incorrect test dependencies