add test forn when set values in model update dom
add tests for changes