test for RecommenderXBlock

Seems to me like you would be better off using the [io.StringIO](https://docs.python.org/2/library/io.html#io.StringIO) module, so that you don't actually have to write anything to disk.
```python
f = io.StringIO()
response = self.client.post(url, {'file': f})
```