Register test fix.