Test of digit classification