wrote some tests
Merge branch 'secondDemo' of https://github.com/nromanen/Ch-024 into secondDemo