serpentine printed test code