added a test for user registration with client defined extensions