Noticed RegisterStudent errored on empty fields

-Fixed RegisterStudents page to no longer cause a fatal error when a
field is not filled
-Updated factory + test to be more robust