adapt tests to new changes in views