Chapter5 Example5: added first unit test