support dict pattern
fixed strict test
Merge branch 'Bartvds-test/dict'