Remove test code in AppHistoryClient