Test: Strip out tmp references