[ML] Train - added a test method for trained model