Tests for RecordLog.

* Inject Redis client into UserPair and RecordLog.
* Added fake Redis client.
* Using unittest framework.