added registration failure test