Tests added in which algorithms give optimal result and ff or rf gives not optimal result