added registration testing