Terminal test fix