use MutationObserver in Update Ref test, fixes #184

R=sorvell@google.com

Review URL: https://codereview.appspot.com/125250044