some test code for recommender