fix test for registration action