added Dataset.for test, fixed csv automatic method