test history custom errors