added a learning test