some  test for common machine learning algorithm