adding test pattern