re-added registration test helpers