complete registration test not working (renders error instead of nil)