Test patterns behaviour