Use SynchronousTestcase in test_history