Moving get_users to exam_functions and made unit test for change