Add test coverage for spark non-series case