View refresh bug: unit tests, fix outstanding.