Add input check for LearningAgent setTstFraction()