Copy Brent Laabs' tests for RT #76988