Testing register checking