Code and specs for viewNode refreshing