Add more checks to understand why the CI fails

Relates #251
[SPARK] Improve signature by removing type alias

While `type` is handy to avoid repetition of large signatures, it also
changes the class declaration and thus it's a no go
Relates #251