pattern options test