add test for registration processing