Cleanup of old records in tests