Finish exercise 49, but still need to learn more how to use nosetests.