fix tests broken by view changes