Fixed bug in View.add_view, added unittests for View
Merge pull request #129 from lechat/unit_tests

Fixed bug in View.add_view, added unittests for View