Function test for get_number()