fix tests to match view changes