Fixed View refactoring test breakage