Updates test pattern.