updated pattern docs
updated tests pattern
min