Add update detection test.