test pattern