Unit tests for registration controller submit methods