fixed patience to be epoch based so that early-termination happens more often.
fixed bug in batch_test configurations