Added unitests for joblib.