Fixed tests compilation error.