Fix test case to work with new tables of Sex and UserType