Teting sequence generator