added consequence tests
Merge branch 'dev'