testcases for RecommenderXBlock

I messed things up in the previous PR, and thus I make a new one. I think I should also change cms/djangoapps/contentstore/views/component.py , but I forget how to do it. Do you know how to do that, and could you help me check is there any other thing wrong, @pmitros ?
Now each test case is separated and the database won't affect each other. I think we don't need a `tearDown()` here.