Fixed tests by fixing dependencies