[History] refactor episode history tests to use Django ORM