added tests for tree and list view
do not use assertions as they are turned of in eclipse by default (for compatiblity reasons)