fixed update test (fixes #4)