test for learning