Added sparse checkout tests and fix SparseCheckoutPath serialization for job over slave