Added ch5 tests
Merge branch 'Chapter-5'