Optional argument to provide test and train data separately