fixed registration test because of handler changes