Mock get_auto_id function when run unit test