Testing self-update functionality