Creating test for LearnPesistence