Update 372 with test pattern
Add 390 test code
Add 407 code
Add 411 test code
Add 413 test code