Clean up test pattern