test for RecommenderXBlock

This function mix initialization (k-1 times) and test (last) together. I will break them up for clearity.