Further Clean up, RefNum input added to Line Test