Added tests for list_to_number