fixed test for createViews