remove echo and fix test pattern